﻿@model int

@(Html.Kendo().DropDownListFor(m => m)
      .AutoBind(false)
      .OptionLabel("Select Product...")
      .DataTextField("ProductName")
      .DataValueField("ProductId")
      .DataSource(dataSource =>
      {
          dataSource.Read(read => read.Action("GetProducts", "Home"))
                    .ServerFiltering(true);
      })
      .CascadeFrom("VendorId")
)